package com.javatiaocao.myblog.mapper;

import com.javatiaocao.myblog.model.BlogUser;
import org.springframework.stereotype.Repository;



@Repository
public interface UserDao {
    /*
   添加用户
   */
    public boolean save(BlogUser user);
    /*
    修改
     */
    public boolean update(BlogUser user);
    /*
    删除
    */
    public boolean delete(Integer id);
    /*获取*/
     BlogUser get(Integer id);
    /*获取所有*/
//    public List<BlogUser> getAll();

}
